package cn.antalk.top.normal.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @Author: WackyBoy
 * @Date: 2021/12/4 19:07
 */
@Data
public class Talk {
    private int talk_id;
    private String content;
    private int uid;
    private String tag_name;
    // solve front end timezone's problem
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date create_time;
    private int like_count;
    private int comment_count;


}
